import {
	post
} from '../utils/request.js'

// 验证码登录
export const loginByCode = (data) => {
	return post('/member/loginByCode', data)
}
// 获取验证码
export const sendcode = (data) => {
	return post('/member/sendcode', data)
}

// 密码登录
export const login = (data) => {
	return post('/member/login', data)
}